package org.collab_games.engine.wrappers;

import java.awt.Dimension;
import java.awt.Graphics;
import java.io.File;

public class Model {
	Triangle[] triangles;

	public Model() {
	}

	public Model(String file) {

	}

	public Model(File file) {

	}

	public void load(String file) {

	}

	public void load(File file) {

	}

	public void draw(Graphics g, double zoom, Vector3 location,
			Dimension viewport) {
		for (Triangle triangle : triangles) {
			triangle.draw(g, zoom, viewport);
			new Triangle(new Vector3(triangle.point1.x + location.x,
					triangle.point1.y + location.y, triangle.point1.z
							+ location.z), new Vector3(triangle.point2.x
					+ location.x, triangle.point2.y + location.y,
					triangle.point2.z + location.z), new Vector3(
					triangle.point3.x + location.x, triangle.point3.y
							+ location.y, triangle.point3.z + location.z))
					.draw(g, zoom, viewport);
		}
	}
}
